@import "theme/theme";

.hidden {
  display: none;
}
.no-border {
  border: 0 !important;
}
.form-check-input {
  margin-left: 0;
}
.text-deleted {
  text-decoration:line-through;
}
.card-block.top0 {
  padding-top: 0;
}

.list-toolbar {
  display: flex;
  margin: 0 0 10px 0;
  padding: 0;
  .filter {
    flex: 1;
  }
  .buttons {
    width: 300px;
    text-align: right;
    .back {
      margin-left: 50px;
    }
  }
}

.link {
  margin: 0 5px;
  text-decoration:underline !important;
  color: #209e91;
  cursor:pointer;
  font-size: 16px;
}
.pointer {
  cursor: pointer;
}

.form-control[readonly] {
    color: #666666 !important;
    background-color: #ffffff !important;
}
.my-validate-form {
    .form-control.ng-valid {
      border-left: 3px solid #a2db59 !important;
      &.my-invalid {
       border-left: 3px solid #fa758e !important;
      }
    }
    .form-control.ng-invalid.ng-dirty  {
      border-left: 3px solid #fa758e !important;
    }
    .validate-errors {
        margin: 0 0 5px 0;
        .validate-error {
           line-height:160%;
           color: #fa758e;
        }
    }
}

.page-container {
  width: 100%;
  text-align: center;
  .info {
    margin: 0 auto;
    width: 200px;
  }
}
.center {
  text-align: center;
}
.middle {
     position: absolute;
     margin: auto;
     top: 0;
     bottom: 0;
     left: 0;
     right: 0;
}

tabset {
    .tab-content {
        border: 1px solid rgba(77, 196, 255, 0.3) ;
    }
}

.bootstrap-timepicker-widget {
  table {
    max-width: 40px;
    margin: 0 auto !important;
    .separator{
      background-color: transparent;
    }
  }
}

table {
  tr {
    th, td.opt {
      text-align: center;
    }
    td.img {
      text-align: center;
      img {
        height: 30px;
      }
    }
  }
}
.file-upload {
  font-size: 1rem;

  .image {
    height: 80px;
    width: 100%;
    img {
      max-height: 100%;
      max-width: 100%;
    }
  }

  .my-drop-zone {
    margin-bottom: 0.5rem;
    padding: 0.8rem;
    border: dotted 3px lightgray;
    height: 3rem;
    font-size: 0.7rem;
  }
  .nv-file-over {
    border: dotted 3px red;
  }
  .upload-row {
    display: flex;

    .upload-input-wrapper {
      width: 7rem;
      margin-right: 1rem;

      .upload-input-container {
        display: none;
      }
      .upload-button-container {
        button {
          font-size: 0.7rem;
        }
      }
    }
    .progress-wrapper {
      flex: 1;

      margin: 0.5rem 0;
      height: 20px;
      width: 10rem;
      height: 1rem;
      background-color: #f5f5f5;
      border-radius: 4px;
      box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);

      .progress-bar {
        height: 100%;
        font-size: 12px;
        line-height: 20px;
        background-color: #337ab7;
        box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
        -o-transition: width .6s ease;
        transition: width .6s ease;
      }
    }
    .upload-file-name {
      flex: 1;
      line-height: 2rem;
      color: #337ab7;
    }
  }
}

footer .socicon {
  width: 1em;
  height: 1em;
  background: transparent no-repeat center;
  &.socicon-qq {
    background-image: url(../assets/img/app/third-part/qq.png);
  }
  &.socicon-wechat {
    background-image: url(../assets/img/app/third-part/wechat.png);
  }
  &.socicon-weibo {
    background-image: url(../assets/img/app/third-part/weibo.png);
  }
  &.socicon-baidu {
    background-image: url(../assets/img/app/third-part/baidu.png);
  }
}

